package com.lcf.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 订单(SysOrder)表实体类
 *
 * @author lcf
 * @since 2025-05-02 11:55:03
 */
@Data
@NoArgsConstructor
public class SysOrderDTO {
    //店铺id
    @Schema(description = "店铺id")
    @NotNull(message = "店铺id不能为空")
    private Long storeId;
    //订单商品
    @Schema(description = "订单商品")
    @Size(message = "订单商品不能为空")
    private List<OrderGoodsDTO> goodsList;
}

